package com.chengqs.rainbow.c2c.service;

import com.chengqs.rainbow.common.core.domain.BasePage;
import com.chengqs.rainbow.common.im.domain.MessageJsonPush;
import com.chengqs.rainbow.common.im.domain.MessageSendJsonRequest;

import java.util.List;

/**
 * <B>主类名称：</B>MessageSendService<BR>
 * <B>概要说明：</B>enter<BR>
 *
 * @author: chengqs
 * @create: 2025-09-16 23:02:53
 **/
public interface MessageSendService {

    void save(List<MessageSendJsonRequest> requests, Long chatId);

    void updateAck(Long chatId, Long memberId, Integer clientId, Long messageId);

    BasePage<MessageJsonPush> fetch(Long chatId, Long startMessageId, Long stopMessageId, int size);
}
